home *** CD-ROM | disk | FTP | other *** search
- #include <vga.h>
- #include <pwd.h>
- #include <time.h>
- #include <fcntl.h>
- #include <stdio.h>
- #include <error.h>
- #include <errno.h>
- #include <netdb.h>
- #include <curses.h>
- #include <malloc.h>
- #include <dirent.h>
- #include <unistd.h>
- #include <signal.h>
- #include <stdlib.h>
- #include <string.h>
- #include <stdarg.h>
- #include <sys/file.h>
- #include <sys/stat.h>
- #include <sys/time.h>
- #include <sys/wait.h>
- #include <sys/types.h>
- #include <sys/socket.h>
- #include <arpa/inet.h>
- #include <netinet/in.h>
-
-
- DIR *mp3dirhandle ;
- struct dirent *mp3dir ;
- struct dirent **sortedlist ;
-
- struct mp3ent
- {
- char *fname ;
- struct mp3ent *next ;
- struct mp3ent *prev ;
- };
-
- struct mp3ent *first ;
- struct mp3ent *last ;
- struct mp3ent *curr ;
- struct mp3ent *dument ;
-
- struct mp3playerdata
- {
- char *player;
- char *playerflags[10];
- char *playeroutput;
- };
-
- struct mp3playerdata mp3player[5];
-
- char *actstr[32];
-
- char *mp3directory ;
-
- char *iam ;
- char *clockout ;
-
- char *host;
-
- char *argstart ;
- char *lastargv ;
- char *player ;
- char *playerdir ;
- char *playerflags[10] ;
- char *playeroutput ;
-
- char *userid ;
- char *readline ;
- char *returnstring ;
- char *setupfilename ;
- char *otestfn ;
-
- char *password ;
- char *guess ;
-
- FILE *setupfile ;
- FILE *ttyout ;
- FILE *otest ;
- FILE *jookyerr ;
-
- WINDOW *win ;
- SCREEN *screen ;
-
- long clockoutptr ;
-
- int their_size;
- int bl;
- char *stringy;
- char *instring;
-
- struct sockaddr_in sokitin;
- struct sockaddr_in their_addr;
-
-
- int fd;
- int port;
- int new_fd;
- int msgcountback[256];
- int sockets[2];
- char sockbuf[256];
- char squig[4];
- int squigpos;
-
- int sockopt ;
- int sockoptlen ;
- int useclient ;
- int envpsize ;
- int pssize ;
- int argvlength ;
- int key ;
- int count ;
- int playerpid ;
- int displaypid ;
- int pidstatus ;
- int lockfilehan ;
- int argy ;
- int qq ;
- int i,x ;
- int scramble ;
- int quit ;
- int todo ;
- int rep ;
- int daemonize ;
- int daemonstat ;
- int counterpid ;
- int futabapid ;
- int socketpid ;
- int usefutaba ;
- int usemp3blaster ;
- int quiet ;
- int dirhasbeenloaded ;
- int defaultplayer ;
- int playertouse ;
- int verbose ;
- int oldcurs ;
- int usesocket ;
- int numberoffiles ;
- int playerselected ;
- int titlequery ;
- int usepasswd ;
-